package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓库信息表
 * </p>
 *
 * @author leehao
 * @since 2019-07-01
 */
public class WWarehouse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 仓库名称
     */
    private String name;

    /**
     * 省ID
     */
    private Integer proId;

    /**
     * 市ID
     */
    private Integer cityId;

    /**
     * 区ID
     */
    private Integer areaId;

    /**
     * 地址详细
     */
    private String addressDetail;

    /**
     * 经度
     */
    private String lonVal;

    /**
     * 纬度
     */
    private String latVal;

    /**
     * 1可用 0不可用
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 省市区 字符串拼接
     */
    private String nameExt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }
    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }
    public String getLonVal() {
        return lonVal;
    }

    public void setLonVal(String lonVal) {
        this.lonVal = lonVal;
    }
    public String getLatVal() {
        return latVal;
    }

    public void setLatVal(String latVal) {
        this.latVal = latVal;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getNameExt() {
        return nameExt;
    }

    public void setNameExt(String nameExt) {
        this.nameExt = nameExt;
    }

    @Override
    public String toString() {
        return "WWarehouse{" +
        "id=" + id +
        ", name=" + name +
        ", proId=" + proId +
        ", cityId=" + cityId +
        ", areaId=" + areaId +
        ", addressDetail=" + addressDetail +
        ", lonVal=" + lonVal +
        ", latVal=" + latVal +
        ", status=" + status +
        ", createtime=" + createtime +
        "}";
    }
}
